<div>
    <style>
        table td,table th{vertical-align: middle;height: 50px;text-align: center;font-size: 14px; }
    </style>
    <div class="form-group" style="margin-top: 20px;">
        <form>
            <label class="control-label">小区名称：</label>
            <select ng-options="m.objId as m.communityName for m in communityList.data" ng-model="input.community" id = "option_xq" required ng-change = 'getCommunityReport(input.community, input.date)'>
                <option value="">-- 请选择 --</option>
            </select>
            <span>&nbsp;&nbsp;日期：<input type="text" ng-model="input.date" style="" value="" placeholder="yyyy-MM-dd hh:mm:ss"></span>
            <button style="margin-left: 20px;" type="submit" class="btn-primary btn-sm" ng-click="getCommunityReport(input.community, input.date)">搜索</button><br>
        </form>
    </div>

    <div class="tab-content">
        <div class="tab-pane active" id="tab_a">
            <table class="table table-condensed">
                <thead>
                <tr>
                    <th>日期</th>
                    <th>小区</th>
                    <th>总用户数</th>
                    <th>总V用户数</th>
                    <th>新增用户数</th>
                    <th>新增V用户数</th>
                    <th>发布数</th>
                    <th>发布人数</th>
                    <th>回复数</th>
                    <th>回复人数</th>
                    <!--<th>活跃用户数</th>-->
                    <!--<th>活跃率</th>-->
                </tr>
                </thead>
                <tbody>
                <tr ng-repeat="comm in allComms">
                    <td>{{date}}</td>
                    <td>{{comm.communityName}}</td>
                    <td>{{comm.users}}</td>
                    <td>{{comm.vusers}}</td>
                    <td>{{comm.newusers}}</td>
                    <td>{{comm.newvusers}}</td>
                    <td>{{comm.questions}}</td>
                    <td>{{comm.questionsusers}}</td>
                    <td>{{comm.replies}}</td>
                    <td>{{comm.repliesusers}}</td>

                    <!--<td>{{}}</td>-->
                    <!--<td>{{}}</td>-->
                </tr>
                </tbody>
            </table>
        </div>
    </div>

</div>

